//
//  OAApproveOpinionVC.m
//  OA项目
//
//  Created by innofive on 2018/5/11.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "OAApproveOpinionVC.h"

@interface OAApproveOpinionVC ()

@end

@implementation OAApproveOpinionVC

- (void)viewDidLoad {
    [super viewDidLoad];

    NSArray *arr= @[@"123123123123",
                    @"1231231232",
                    @"1231231232",
                    @"1231231232",
                    @"1231231232"];
    [self.dataArr addObjectsFromArray:arr];
    

}

-(void)onLoadViewByWillAppear:(UIView *)view
{
    [self.tableView config:^(UITableView *tableView) {
        [tableView setSeparatorMan];
    }];
}

#pragma mark - 点击方法
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    
    
}

#pragma mark - Table view data source
-(void)onSetSubviewSELForCell:(BaseTableViewCell *)cell forTableView:(UITableView *)tableView forIndexPath:(NSIndexPath *)indexPath
{
    cell.textLabel.textColor = [UIColor blackColor];
    cell.textLabel.font = kSysFont(kFitW(15));
    
    [cell onMainSetSubViewFrame:^(UIView *view, CGPoint origin, CGSize size, CGPoint center) {
        cell.textLabel.size = CGSizeMake(size.width,size.height);
    }];
    
}
-(void)onUpdateCell:(BaseTableViewCell *)cell model:(id)model atIndexPath:(NSIndexPath *)indexPath
{
    cell.textLabel.text = model;
}
-(MCCellInfo *)tableView:(UITableView *)tableView cellForIndexPath:(NSIndexPath *)indexPath IsHeight:(BOOL)isheight
{
    return [MCCellInfo configForCellId:cell Class:[BaseTableViewCell class] Height:kFitH(50) TableView:tableView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
